﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class TestTwoPanel : UIBase
{
    [SerializeField]
    public Text test2;
    private void Awake()
    {
        Bind(AudioEvent.PLAY_AUDIO);
    }

    public override void Excute(int eventCode, object message)
    {
        switch (eventCode)
        {
            case AudioEvent.PLAY_AUDIO:
                Debug.Log("我也要关心这个音乐的播放，只是想试试看可不可以");
                test2.text = "we are family, welcome to beijing";
                break;

            default:

                break;
        }

    }


}
